import math

if __name__ == '__main__':
    res = 0
    for i in str(math.factorial(100)):
        res += int(i)
    print(res)
